<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>{$site.title}</title>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="Keywords" content="{$site.keywords}" />
<meta name="Description" content="{$site.dis}" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<!--移动端版本兼容 end -->

<link rel="stylesheet" type="text/css" href="CSS/index.css" media="all">
<link rel="stylesheet" type="text/css" href="CSS/22.css" media="all">
<style type="text/css">
.font1 {
	font-family: "Microsoft YaHei";
	font-size: 14pt;
}
.colorwhite {
	color: rgb(255, 255, 255) ! important;
}
.buttonp {
	position: fixed;
	bottom: 0px;
}
img {
	width: 100%
}

.rich_media_inner{ padding-bottom:100px;}
</style>
</head>
<body>
<div style="display: none;"> 
  <script src="JS/z_stat.php" language="JavaScript"></script>
  <script src="JS/core.php" charset="utf-8" type="text/javascript"></script><a href="#" target="_blank" title="站长统计">站长统计</a> </div>
<div> 
<a href="#dg">
  <div id="ek" class="buttonp font1 colorwhite" style="z-index: 999; width: 100%; height: 40px; background-color: rgb(180, 0, 0); text-align: center; line-height: 35px;"> 立即免费领取 </div>
  </a> </div>
<div style="width: 100%;max-width: 640px;margin: 0 auto;position: relative;">
  <div> <img src="images/img1.jpg" alt=""><br>
  </div>
  <div class="div02">
    <div><img src="images/index_08.jpg" alt="">
      <p class="p1"><span>已有</span> 
	  {foreach $sum as $k=>$ll}
	  <span class="span1 {if $k == 3}span2 {/if}" >{$ll}</span> 
	  {/foreach}
	 
	  <span>人领取</span> </p>
      <p class="p2"><a href="#dg"></a></p>
    </div>
  </div>
  <div style=" width: 100%; height: 50px; background-color: rgb(180, 0, 0); text-align: center; line-height: 50px;font-size: 24px;color: white;font-weight: bold;"> 我们为什么会免费送？ </div>
  <div> <img src="images/3.jpg" alt=""><br>
    <img src="images/lingquxuzhi.jpg" alt=""><br>
    <a href="#dg" class="btn01">在线领取</a> </div>
  <img src="images/img2.jpg" alt=""><br>
  <a href="#dg"><img src="images/lingqu.jpg" alt=""></a><br>
  <img src="images/img3.jpg" alt=""><br>
  <img src="images/img14.jpg" alt=""><br>
  <img src="images/img4.jpg" alt=""><br>
  <img src="images/img5.jpg" alt=""><br>
  <img src="images/data.jpg" alt=""><br>
  <img src="images/img16.jpg" alt=""><br>
  <img src="images/img6.jpg" alt=""><br>
  <a href="#dg"><img src="images/lingqu.jpg" alt=""></a><br>
  <img src="images/img7.jpg" alt=""><br>
  <img src="images/img8.jpg" alt=""><br>
  <img src="images/img9.jpg" alt=""><br>
  <img src="images/img10.jpg" alt=""><br>
  <img src="images/img11.jpg" alt=""><br>
  <img src="images/img12.jpg" alt=""><br>
  <div class="div03 mtop"><img src="images/index_56.jpg" alt=""></div>
</div>
  {Wh:form id="1" enctype="multipart/form-data"}
  <div class="rich_media"> <a name="wx_order"></a>
    <div class="rich_media_inner" style="padding-top: 0px;">
      <div id="page-content" style="margin-top: 0px; padding: 0px;">
	 
        <div id="img-content" style="margin-top: 0px; padding: 0px;">
          <div class="rich_media_content" id="js_content"> 
            <script type="text/javascript" src="JS/jquery.js"></script> 
            <script src="JS/base_H5.js"></script> 
            <script src="JS/PCASClass.js"></script>
            <script src="JS/notorder.js"></script>
            <section class="item_sec">
              <div class="item_wrap rel" id="dg">
                <ul>
                  <li><img src="images/chanpin3.jpg" width="100px"></li>
                </ul>
                <ul id="skuList" class="sku_ul">
                  <li class="lix"><span>尺寸大小：</span> <br>
                    <input name="size" id="message" value="L号" checked="checked" type="radio">
                    <em>L号</em>-----身高(cm)165-170 腰围(尺)2.0-2.2<br>
                    <input id="message" value="XL号" name="size" type="radio">
                    <em>XL号</em>----身高(cm)170-175 腰围(尺)2.3-2.5<br>
                    <input id="message" value="XXL号" name="size" type="radio">
                    <em>XXL号</em>--身高(cm)175-180 腰围(尺)2.6-2.8<br>
                    <input id="message" value="XXXL号" name="size" type="radio">
                    <em>XXXL号</em>-身高(cm)180-185 腰围(尺)2.9-3.1<br>
                  </li>
                </ul>
                
                <label>价　格 </label>
                <input id="item_num" name="number" value="1" type="hidden">
                <input id="total_money" name="total_money" value="894" type="hidden">
                <span class="i_pri" id="item_price">￥免费</span>
                
              </div>
            </section>
          </div>
        </div>
        <section class="item_sec">
          <div class="item_wrap add">
            <p class="row">
              <label for="name">收货人</label>
              <input required id="name" name="name" class="block input" type="text">
            </p>
            <p class="row">
              <label for="tel">联系手机</label>
              <input required id="tel" name="mob" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" class="block input" type="text">
            </p>
            <p class="row">
              <label for="province">选择地区</label>
              <select required="" class="select" style="width: 100%; margin-bottom: 5px;" id="province" name="province" tabindex="3">
                <option value="" selected="selected">省 必选</option>
                <option value="北京市">北京市</option>
                <option value="天津市">天津市</option>
                <option value="河北省">河北省</option>
                <option value="山西省">山西省</option>
                <option value="内蒙古">内蒙古</option>
                <option value="辽宁省">辽宁省</option>
                <option value="吉林省">吉林省</option>
                <option value="黑龙江省">黑龙江省</option>
                <option value="上海市">上海市</option>
                <option value="江苏省">江苏省</option>
                <option value="浙江省">浙江省</option>
                <option value="安徽省">安徽省</option>
                <option value="福建省">福建省</option>
                <option value="江西省">江西省</option>
                <option value="山东省">山东省</option>
                <option value="河南省">河南省</option>
                <option value="湖北省">湖北省</option>
                <option value="湖南省">湖南省</option>
                <option value="广东省">广东省</option>
                <option value="广西">广西</option>
                <option value="海南省">海南省</option>
                <option value="重庆市">重庆市</option>
                <option value="四川省">四川省</option>
                <option value="贵州省">贵州省</option>
                <option value="云南省">云南省</option>
                <option value="西藏">西藏</option>
                <option value="陕西省">陕西省</option>
                <option value="甘肃省">甘肃省</option>
                <option value="青海省">青海省</option>
                <option value="宁夏">宁夏</option>
                <option value="新疆">新疆</option>
              </select>
              <select required="" class="select" style="width: 100%; margin-bottom: 5px;" id="city" name="city" tabindex="4">
                <option value="" selected="selected">市 必选</option>
              </select>
              <select required="" class="select" style="width: 100%; margin-bottom: 5px;" id="area" name="area" tabindex="5">
                <option value="" selected="selected">区 必选</option>
              </select>
            </p>
            <p class="row row_area">
              <label for="address">详细地址</label>
              <input required id="address" name="address" class="block input" type="text">
            </p>
          </div>
        </section>
        <footer>
          <button type="submit" class="c_txt orange_bg" id="buy_now">提交订单</button>
		   
          <p class="note">注：提交订单后，客服将会与你联系进行确认，请保持手机通讯畅通。</p>
          <div style="padding: 0px 0px 30px;"></div>
        </footer>

        <script>
        var pcas = new PCAS("province,省 必选","city,市 必选","area,区 必选");
        var Item = {
          getItemInfo : function(){

          },
          changeCount : function(){
            $("#name").bind("focusout",function(){
              var _this = $(this);
              var val = _this.val();
              if(1!=1){
                M._alert("请填写收货人");
                _this.val(1);
                return;
              }

            })
          },
          init : function(){

            $("#buy_now").bind("click", function() {
				
              var name=$("#name").val().replace(/(^\s*)|(\s*$)/g, "");
              var tel=$("#tel").val().replace(/(^\s*)|(\s*$)/g, "");
              var adress=$("#address").val().replace(/(^\s*)|(\s*$)/g, "");
              var pro=$("#province").val().replace(/(^\s*)|(\s*$)/g, "");
              var city=$("#city").val().replace(/(^\s*)|(\s*$)/g, "");//市
                var area=$("#area").val().replace(/(^\s*)|(\s*$)/g, "");//区
              var rule = /^1[3-8][0-9]\d{4,8}$/;

              if(name==''){
                M._alert("请填写收货人姓名!");
                return;
              }else if(tel==''){
                M._alert("请填写联系手机号!");
                  return;
              }else if(tel.length != 11 || rule.test(tel)==false){
                        M._alert("联系手机格式不正确!");
                        return;
                    }else if(pro=='' || city=='' || area==''){
                M._alert("请选择所在省市地区!");
                return;
              }else if(adress==''){
                M._alert("请填写详细收货地址!");
                return;
              }else{
                  $(this).unbind('click');
                  document.getElementById("form_buy").submit();
              }
            });
          }
        }
        </script> 
        <script>


              function checkInput()
        {

           var realName = $("#name").val();
            var mobile = $("#tel").val();
            var address = $("#address").val();

            var telReg = !!mobile.match(/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/);


            if(realName==''){
              alert('请填写姓名!');
              return false;

            }
            if(mobile==''){
              alert('请填写电话!');
              return false;

            }
            if(telReg==false){
               alert('请正确填手机电话!');
              return false;
            }
            if(address==''){
              alert('请填写地址!');
              return false;
            }
              var pro=$("#province").val().replace(/(^\s*)|(\s*$)/g, "");
              var city=$("#city").val().replace(/(^\s*)|(\s*$)/g, "");//市
                var area=$("#area").val().replace(/(^\s*)|(\s*$)/g, "");//区
                var rel_address = pro+" "+city+" "+area+" "+address;
                $("#address").val(rel_address);

            return true;
        }
        </script>
        <div class="div03 mtop"><img src="images/index_57.jpg" alt=""></div>
		<script>
			$(document).ready(function(){
				 $("#buy_now").click(function(){
					var tel=$("#tel").val();
					var telReg = !!tel.match(/^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/);
					  if(tel==''){
						  alert('请填写电话!');
						  return false;
						}
						if(telReg==false){
						   alert('请正确填手机电话!');
						  return false;
						}
						
				  });
			});
		</script>
		
        <script>
   var quotes=new Array("XL号","L号","XXL号");
   </script> 
        <script>
			function AutoScroll(obj){ 
			$(obj).find("ul:first").animate({ 
			marginTop:"-0.7rem" 
			},0,function(){ 
			$(this).css({marginTop:"0rem"}).find("li:first").appendTo(this); 
			}); 
			} 
			$(document).ready(function(){ 
			setInterval('AutoScroll("#scrollDiv")',1500) 
			});
   </script>
             <style>
		
		#scrollDiv li{height:1.2rem;}
		#scrollDiv li a{height:1.2rem; line-height:1.2rem;font-size: 12px;color: #646464; display:block; float:left; text-align:left;}
		    .fahao{
       width: 92%;
           height: 130px;
           font-size: 12px;
           line-height: 1.8em;
padding: 15px 4% 0;
background: #EFEFEF;
   </style>
   <div class="yw">
		<div id="scrollDiv" class="fahao"> 
		<ul> 
		 {foreach :term('1')['content'] as $key=> $tc}
		 {if $key<10}
		   	<?php $t=time()-$tc['create_time']; ?>
          <li><a style="color: #0C3;">[最新购买]：</a><a><?php echo mb_substr(strip_tags($tc['name']),0,1,'utf-8');?>**（{$tc.keywords|mb_substr=0,3}****{$tc.keywords|mb_substr=7,4}）在<?php echo $t%3600; ?>分钟前领取了{$tc.description}</a><a style="color:#FF0000;">√</a></li>
		  {/if}
		{/foreach}
		</ul> 
		</div>
		</div>
		<div style="clear:both"></div>
      </div>
	  <div style="clear:both"></div>
    </div>
  </div>
 {/Wh:form}
</body>
</html>